<div class="layui-inline">
<label class="layui-form-label2">学期</label>
<div class="layui-input-inline" >
    <select name="term_id" lay-verify="" lay-filter="term_id">
     
        @php
            $termlist = app('termService')->getAll();
        @endphp
        @foreach ($termlist as $term)
            <option value="{{$term['id']}}">{{$term['year'].$term['termname']}}</option>
        @endforeach
        <option value="">全部</option>
    </select>  
</div>
</div>